// 所有关于学员的接口
import request from '../utils/request'
// 添加学员的接口
export const addStudentApi = function (params) {
  return request("/VueHandler/AdminHandler?action=adduser", params, "post")
}
// 查询学员
export const getStudentApi = function (params) {
  return request("/VueHandler/AdminHandler?action=usershow", params, "post")
}
// 冻结解冻接口
export const freezeApi = function (tokenId) {
  return request("/VueHandler/AdminHandler?action=lockuser", { tokenId: tokenId }, "get")
}